From: Keir Fraser Date: Thu, 29 Oct 2009 14:05:46 +0000 (+0000) Subject: AMD IOMMU: remove a BUG_ON condition, to allow boot X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13153 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=abcac528725704d9bfbe613b2aa83a0ce0f3d8c2;p=xen.git AMD IOMMU: remove a BUG_ON condition, to allow boot Signed-off-by: Wei Wang --- diff --git a/xen/drivers/passthrough/amd/iommu_init.c b/xen/drivers/passthrough/amd/iommu_init.c index 0b8d5643b9..3c8fd74667 100644 --- a/xen/drivers/passthrough/amd/iommu_init.c +++ b/xen/drivers/passthrough/amd/iommu_init.c @@ -719,7 +719,7 @@ static int __init amd_iommu_setup_device_table(void) int sys_mgt, dev_ex, lint1_pass, lint0_pass, nmi_pass, ext_int_pass, init_pass; - BUG_ON( (ivrs_bdf_entries == 0) || (iommu_enabled) ); + BUG_ON( (ivrs_bdf_entries == 0) ); /* allocate 'device table' on a 4K boundary */ device_table.alloc_size = PAGE_SIZE <<